$OpenBSD: patch-libjava_prims_cc,v 1.1.1.1 2014/06/26 16:30:17 pascal Exp $
--- libjava/prims.cc.orig	Fri Feb  8 13:28:09 2013
+++ libjava/prims.cc	Fri Feb  8 13:28:29 2013
@@ -1143,7 +1143,7 @@ namespace gcj
   bool verifyClasses = true;
 
   // Thread stack size specified by the -Xss runtime argument.
-  size_t stack_size = 0;
+  size_t stack_size = 768*1024;
 
   // Start time of the VM
   jlong startTime = 0;
